<div class="header">
  <back-Btn></back-Btn>
  项目清账
</div>
<div class="container finance task-review">
  <div class="list f_sk">
    <div
      user-info
      no="TaskReview.result.fileNo"
      depname="TaskReview.result.departmentName"
      date="TaskReview.result.applyDate"
      username="TaskReview.result.userName"
    ></div>
    <div class="section">
      <div class="list-item flex">
        <div class="c9 w40">项目编号</div>
        <div class="w60">{{ TaskReview.result.projectNo }}</div>
      </div>
      <div class="list-item flex">
        <div class="w40 c9">项目名称</div>
        <div
          class="w60"
          relative-module="project_store"
          module-no="{{ TaskReview.result.projectNo }}"
        >
          {{ TaskReview.result.projectName }}
        </div>
      </div>
      <div class="list-item flex" ng-show="TaskReview.result.moduleNo">
        <div class="w40 c9">收款编号</div>
        <div
          class="w60"
          relative-module="project_gathering"
          module-no="{{ TaskReview.result.moduleNo }}"
        >
          {{ TaskReview.result.moduleNo }}
        </div>
      </div>
      <div class="list-item flex" ng-show="TaskReview.result.shouldRepay">
        <div class="w40 c9">需清账金额</div>
        <div class="w60">{{ TaskReview.result.shouldRepay | NBFmt }}</div>
      </div>
      <div class="list-item flex">
        <div class="w40 c9">清账总金额</div>
        <div class="w60">{{ TaskReview.result.amount | NBFmt }}</div>
      </div>
      <div class="list-item flex">
        <div class="w40 c9">金额大写</div>
        <div class="w60">{{ TaskReview.result.amountInWorld }}</div>
      </div>
      <div class="list-item flex" ng-hide="TaskReview.result.completion==0">
        <div class="w40 c9">清账状态</div>
        <div class="w60" ng-switch="TaskReview.result.completion">
          <div ng-switch-when="0">未清账</div>
          <div ng-switch-when="1">已清账</div>
        </div>
      </div>
      <div class="list-item flex" ng-show="TaskReview.result.remark">
        <div class="w40 c9">备注</div>
        <div class="w60">{{ TaskReview.result.remark }}</div>
      </div>
      <!-- 自定义字段 -->
      <div checkuser-define field-map="TaskReview.result.customFields"></div>
      <div class="list table-list">
        <div class="info-title">清账明细</div>
        <div class="table-item" ng-repeat="item in TaskReview.result.details">
          <div class="list-item">
            <div class="item-label">扣款编号</div>
            <div
              class="flow-content"
              relative-module="project_cost"
              module-no="{{ item.costNo }}"
            >
              {{ item.costNo }}
            </div>
          </div>
          <div class="list-item">
            <div class="item-label">款项类别</div>
            <div class="flow-content" ng-switch="item.costType">
              <span ng-switch-when="3">保证金</span>
              <span ng-switch-when="4">押金</span>
              <span ng-switch-when="5">缴纳</span>
              <span ng-switch-when="6">成本</span>
              <span ng-switch-when="7">收入</span>
              <span ng-switch-when="10">已付款</span>
            </div>
          </div>
          <div class="list-item">
            <div class="item-label">款项小类</div>
            <div class="flow-content">{{ item.costSubType }}</div>
          </div>
          <div class="list-item">
            <div class="item-label">清账金额</div>
            <div class="flow-content">{{ item.costAmount | NBFmt }}</div>
          </div>
        </div>
      </div>

      <!-- 附件 -->
      <div
        class="file-upload"
        file-list
        checked="true"
        file-data="TaskReview.result.attachment"
      ></div>
    </div>
    <div balance-list form-key="formKey" data="TaskReview.result"></div>
    <!-- 审查日志 -->
    <div log-list taskid="process_id"></div>
  </div>
</div>
